﻿@model List<HackApp.Models.IdeaModel>
@{
    ViewBag.Title = "Ideas list";
}

<div class="row-fluid">
                
    <!--Info column on the left-->
    <div class="span3 well">
		<h3>Get inspired!</h3>
        <p>Here's a preview of what our users have shared with us so far. If you want to find out more, join us and get involved.</p>
    </div>
    
    <!--Main content with ideas list-->    	
    <div class="span9">
        <p>Take a look over these ideas our users came up with:</p>
        @foreach (HackApp.Models.IdeaModel idea in Model)
        {
            <hr>
            <div>
                <h3>@idea.Name<small style="float:right;">Votes so far: @idea.VotesCount</small></h3>
                <span class="idea-teaser">@idea.Description</span>
                <a class="btn btn-success" style="float:right;" href="/Idea/Details/@idea.Id">More <i class="icon-forward icon-white"></i></a>
                <div><i>Posted by <b>@idea.Author</b></i></div>
            </div> 
        }
    </div>
 </div>

